<template>
	<view>
		<view class="codeBox">
			<image class="storeImg" :src="storeImg"></image>
			<text class="storeName">{{storeName}}</text>
			<image class="storeCode" :src="storeCode"></image>
			<text class="scan">扫一扫进入店铺</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				storeImg:'../../../static/shangcheng/chanping.png',
				storeName:'民商科技',
				storeCode:'../../../static/user2/code.png'
			};
		},
		methods:{
			back() {
				uni.navigateBack({
					delta: 1,
				})
			},
			}
	}
</script>

<style lang="scss">
		.codeBox{
			width: 653rpx;
			height: 895rpx;
			background: url(../../../static/user2/codeBg.png) no-repeat;
			background-size: 653rpx 895rpx;
			position: absolute;
			top: 201rpx;
			left: 49rpx;
		}
		.storeImg{
			width: 140rpx;
			height: 140rpx;
			position: absolute;
			top: 61rpx;
			left: 256rpx;
		}
		.storeName{
			font-size:34rpx;
			font-family:PingFang SC;
			font-weight:bold;
			color:rgba(115,34,216,1);
			position: absolute;
			top: 231rpx;
			left: 259rpx;
		}
		.storeCode{
			width: 400rpx;
			height: 400rpx;
			position: absolute;
			bottom: 141rpx;
			left: 126rpx;
		}
		.scan{
			font-size:34rpx;
			font-family:PingFang SC;
			font-weight:bold;
			color:rgba(51,51,51,1);
			position: absolute;
			bottom: 72rpx;
			left: 205rpx;
			}
</style>
